C1.WPF Namespace > CustomConverter Class > Create Method : Create(Func<Object,Type,Object,CultureInfo,Object>) Method |
'Declaration
Public Overloads Shared Function Create( _ ByVal converterFunction As Func(Of Object,Type,Object,CultureInfo,Object) _ ) As IValueConverter
'Usage
Dim converterFunction As Func(Of Object,Type,Object,CultureInfo,Object) Dim value As IValueConverter value = CustomConverter.Create(converterFunction)
public static IValueConverter Create( Func<object,Type,object,CultureInfo,object> converterFunction )
public: static IValueConverter^ Create( Func<Object^,Type^,Object^,CultureInfo^,Object^>^ converterFunction )
var converter = CustomConverter.Create((value, type, parameter, culture)=> { return; //Put the converter code here });
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2